FROM node:8.9-alpine
COPY . /app/
WORKDIR /app
# RUN ls && npm config set registry https://registry.npm.taobao.org && npm i && npm i -g pm2
RUN npm config set registry https://registry.npm.taobao.org && npm i pm2 -g && npm i
CMD ["pm2","start","./bin/www"]
